Skip to content

Conversation

sunil-abraham
Copy link
Contributor

This update extends the functionality of clock control driver for the SAM D5x/E5x series. It introduces bindings for clock sources and generators, including DFLL, FDPLL, GCLK generator, MCLK CPU, OSC32K, RTC clock, and XOSC.

The driver now supports bootup clock initialization, asynchronous operation, and a set_rate API for dynamic clock management.
On the board side, the configuration has been updated to set the CPU clock to 120MHz using the FDPLL, sourced from the external XOSC

Add more functionality in clock control driver.
Add bindings for dfll, fdpll, gclk generator, mclk cpu, osc32k, rtc clock
and xosc.

Signed-off-by: Sunil Abraham <[email protected]>
Copy link

Hello @sunil-abraham, and thank you very much for your first pull request to the Zephyr project!
Our Continuous Integration pipeline will execute a series of checks on your Pull Request commit messages and code, and you are expected to address any failures by updating the PR. Please take a look at our commit message guidelines to find out how to format your commit messages, and at our contribution workflow to understand how to update your Pull Request. If you haven't already, please make sure to review the project's Contributor Expectations and update (by amending and force-pushing the commits) your pull request if necessary.
If you are stuck or need help please join us on Discord and ask your question there. Additionally, you can escalate the review when applicable. 😊

@sunil-abraham sunil-abraham force-pushed the sam_d5x_e5x_clock_control_driver branch 4 times, most recently from 56af42a to 9483617 Compare October 6, 2025 12:49
Add more functionality in clock control driver.
Implement bootup clock initialization, async on and set_rate API.

Signed-off-by: Sunil Abraham <[email protected]>
Configure CPU clock using FDPLL, sourced from XOSC to achieve 120Mhz.
Also configure UART clock to support bootup initialization.

Signed-off-by: Sunil Abraham <[email protected]>
@sunil-abraham sunil-abraham force-pushed the sam_d5x_e5x_clock_control_driver branch from 9483617 to 0c563db Compare October 6, 2025 13:28
Copy link

sonarqubecloud bot commented Oct 6, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants